package com.echo.echovividlive.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiajunjie
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("live_record")
public class LiveRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "room_id", type = IdType.AUTO)
    private Integer roomId;


    /**
     * 开播时间
     */
    private LocalDateTime createTime;

    /**
     * 礼物总收益
     */
    private Integer giftTotalValue;

    private Integer userId;

    private LocalDateTime endTime;

    private String preview;

    private String tag;
}
